<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    function *show(){
        alert('a')
        yield
        alert('b')
    }
    let genObj = show()
    genObj.next()
</script>
</html>
